home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4928 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: in1.uu.net!DIALix!gmhuucp!chris.cheek
  2. Newsgroups: comp.lang.c
  3. In-Reply-To: K.Klijnsma@net.HCC.nl
  4. Subject: Re: Best way to make a circle
  5. From: chris.cheek@ucagmh.DIALix.oz.au
  6. Message-ID: <COLACE.B0DF@ucagmh.DIALix.oz.au>
  7. Date: Sat, 10 Feb 96 13:33:00 +0730
  8. Organization: The Flaming Dove, Karratha WA
  9.  
  10. >an234@lafn.org (Andres Lessing) wrote:
  11. >
  12. >>I am working on 3d Graphics quite succesfully as of now and am trying to
  13. >>put together a good Graphics library that is much faster than BGI drivers.
  14. >>I know that Sin and Cosine take to much time to calculate... so... which
  15. >>way should I do it?
  16. >
  17. >Usually the best trick is to have precomputed look-up tables for sine
  18. >and cosine (and *dont't* use floating point numbers).
  19. >Hope this helps!
  20. >
  21. >     ________________________________________________
  22. >    |_                                              _|
  23. >   (__)              Kelvin Klijnsma               (__)
  24. >   (___)          K.Klijnsma@net.HCC.nl           (___)
  25. >   (__)   http://www.inter.nl.net/hcc/K.Klijnsma   (__)
  26. >    |________________________________________________|
  27. >
  28.  
  29. Anything is faster than .BGI!
  30. -c
  31.